﻿
@{
    FollowPeers.Models.FollowPeersDBEntities followPeersDB = new FollowPeers.Models.FollowPeersDBEntities();
    string name = Membership.GetUser().UserName;
    FollowPeers.Models.UserProfile myprofile = followPeersDB.UserProfiles.SingleOrDefault(p => p.UserName == name);
    <div class="span2" style="border-right: 1px solid #eee; padding-right:10px;">
						<!--<div class="span2"><div class="hero-unit"></div></div>-->
						<ul class="thumbnails">
						<li class="span2">
						    <div class="thumbnail">
						      <a href="profile.html"><img src="@Html.Encode(myprofile.PhotoUrl)" class="img" alt=""></img></a> 
						      <p>@myprofile.FirstName @myprofile.LastName</p>
						    </div>
						 </li>
						</ul>    
                <ul class="menu">
                    <li><a href="/Profile/Edit">
                        <img src="../../Content/images/icons/16x16/user.png" />Edit Profile</a></li>
                    
                </ul>

        <h3>
            Following: 
        </h3>

         <ul class="menu">
             

             @*@foreach(FollowPeers.Models.*@
                    @*<li><a href="/Profile/Edit">*@
                        @*<img src="../../Content/images/icons/16x16/user.png" />Edit Profile</a></li>*@
                    
         </ul>
            </div>
}
